/**
 * Project: Utilities <br>
 * Package: org.leumasjaffe.collections.map
 */
package org.leumasjaffe.collections.map;

import java.util.Comparator;
import java.util.SortedMap;
import java.util.TreeMap;
import java.util.List;
import java.util.Map;

import org.eclipse.jdt.annotation.NonNullByDefault;

/**
 * Class org.leumasjaffe.collections.map..HashMultiMap in file HashMultiMap.java <br>
 * 
 * @author leumasjaffe
 * @version Feb 1, 2014
 * Created on: Feb 1, 2014
 * 
 */
@NonNullByDefault
public class TreeMultiMap<K, V> extends DelegateNavigableMultiMap<K, V> {
	
	public TreeMultiMap() {
		super(new TreeMap<K, List<V>>());
	}
	
	public TreeMultiMap(Comparator<? super K> cmp) {
		super(new TreeMap<K, List<V>>(cmp));
	}
	
	public TreeMultiMap(Map<? extends K, ? extends V> m) {
		super(new TreeMap<K, List<V>>());
		putAll(m);
	}
	
	public TreeMultiMap(SortedMap<K, ? extends V> m) {
		super(new TreeMap<K, List<V>>(m.comparator()));
		putAll(m);
	}
}
